package com.meetingshow.privilege.uiservice.model;

import com.meetingshow.common.base.uiservice.model.BaseVO;
import com.meetingshow.privilege.dao.model.PriUserFollowPO;

public class PriUserFollowVO extends BaseVO {
    /**
     * 
     */
    private static final long serialVersionUID = 6010063926998409419L;
    
    private Integer id;
    private java.util.Date createTime;
    private Integer fromUserId;
    private String fromUserName;
    private Integer toUserId;
    private String toUserName;

    public PriUserFollowVO() {
    }

    public PriUserFollowVO(PriUserFollowPO priUserFollowPO) {
        setId(priUserFollowPO.getId());
        setCreateTime(priUserFollowPO.getCreateTime());
        setFromUserId(priUserFollowPO.getFromUserId());
        setFromUserName(priUserFollowPO.getFromUserName());
        setToUserId(priUserFollowPO.getToUserId());
        setToUserName(priUserFollowPO.getToUserName());
    }
    
    public PriUserFollowPO toPriUserFollowPO() {
        PriUserFollowPO priUserFollowPO = new PriUserFollowPO();
        
        priUserFollowPO.setId(getId());
        priUserFollowPO.setCreateTime(getCreateTime());
        priUserFollowPO.setFromUserId(getFromUserId());
        priUserFollowPO.setFromUserName(getFromUserName());
        priUserFollowPO.setToUserId(getToUserId());
        priUserFollowPO.setToUserName(getToUserName());
        
        return priUserFollowPO;
    }

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the createTime
     */
    public java.util.Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     *            the createTime to set
     */
    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the fromUserId
     */
    public Integer getFromUserId() {
        return fromUserId;
    }

    /**
     * @param fromUserId
     *            the fromUserId to set
     */
    public void setFromUserId(Integer fromUserId) {
        this.fromUserId = fromUserId;
    }

    /**
     * @return the fromUserName
     */
    public String getFromUserName() {
        return fromUserName;
    }

    /**
     * @param fromUserName
     *            the fromUserName to set
     */
    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    /**
     * @return the toUserId
     */
    public Integer getToUserId() {
        return toUserId;
    }

    /**
     * @param toUserId
     *            the toUserId to set
     */
    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }

    /**
     * @return the toUserName
     */
    public String getToUserName() {
        return toUserName;
    }

    /**
     * @param toUserName
     *            the toUserName to set
     */
    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }
}
